package com.bytz.modules.cms.user.service;

import com.bytz.modules.bpm.client.service.IBizFlowServiceBase;
import com.bytz.modules.cms.user.entity.EcAudit;
import com.bytz.modules.cms.user.model.EcAuditEntity;
import com.bytz.modules.cms.user.model.EcAuditSaveRo;

/**
 * @program: cms-backend
 *
 * @description:
 *
 * @author: KyleWang
 *
 * @create: 2022-10-31 16:56
 **/
public interface IEcAuditFlowService extends IBizFlowServiceBase<EcAudit, EcAuditSaveRo, EcAuditEntity> {

    /**
     * 终止订单对应ec流程
     * @param orderId
     * @param reason
     * @return
     * @throws Exception
     */
    boolean terminate(String orderId, String reason) throws Exception;

}